package com.bush.mall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.ware.entity.PurchaseEntity;

/**
 * 采购信息
 * @author RUN
 * @date 2022-11-29
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    public static final String BEAN_ID = "mall.purchaseService";

    /**
     * 分页查询采购信息列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建采购信息表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result savePurchase(PurchaseEntity purchase);


    /**
     * 修改采购信息表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updatePurchase(PurchaseEntity purchase);

    /**
     * 删除指定ID的采购信息
     * @author RUN
     * @date 2022-11-29
     */
     Result deletePurchase(Long id);

}

